package com.jinlei.crm.commons.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("workbench")
public class WorkbenchIndexController {

    @GetMapping("/index")
    public String jumpWorkbenchIndex(){
        return "workbench/index";
    }


    @GetMapping("/activity/index")
    public String jumpWorkbenchActivityIndex(){
        return "workbench/activity/index";
    }

    @GetMapping("/activity/detail")
    public String jumpWorkbenchActivityDetail(){
        return "workbench/activity/detail";
    }

    @GetMapping("/clue/index")
    public String jumpWorkbenchClueIndex(){
        return "workbench/clue/index";
    }

    @GetMapping("/clue/convert")
    public String jumpWorkbenchClueConvert(){
        return "workbench/clue/convert";
    }

    @GetMapping("/clue/detail")
    public String jumpWorkbenchClueDetail(){
        return "workbench/clue/detail";
    }

    @GetMapping("/contacts/index")
    public String jumpWorkbenchContactsIndex(){
        return "workbench/contacts/index";
    }

    @GetMapping("/customer/index")
    public String jumpWorkbenchCustomerIndex(){
        return "workbench/customer/index";
    }

    @GetMapping("/main/index")
    public String jumpWorkbenchMainIndex(){
        return "workbench/main/index";
    }

    @GetMapping("/transaction/index")
    public String jumpWorkbenchTransactionIndex(){
        return "workbench/transaction/index";
    }

    @GetMapping("/transaction/detail")
    public String jumpWorkbenchTransactionDetail(){
        return "workbench/transaction/detail";
    }

    @GetMapping("/transaction/save")
    public String jumpWorkbenchTransactionSave(){
        return "workbench/transaction/save";
    }
}
